<template>
  <div id="app">
    <main-tab-bar v-show="$route.meta.showTabBar" class="tabbar"></main-tab-bar>
    <keep-alive>
      <router-view/>
    </keep-alive>
  </div>
</template>
<script>
import MainTabBar from '@/components/content/tabbar/MainTabBar'
export default {
  components:{
    MainTabBar
  },
  mounted(){
    this.$store.dispatch('autoLogin')
  }
}
</script>
<style lang="less" scoped>
@import './assets/css/base.less';
#app{
  .tabbar{
    z-index: 999;
  }
}
</style>
